import { ref, computed } from "vue";
import { defineStore } from "pinia";

export const useUserStore = defineStore("user", {
  state: () => ({
    id: 1,
    userName: "",
    token: "",
    createTime: "",
  }),
  persist: {
    // 配置存储名字
    key: "adminUser",
  },
});
